package org.mall.common.constant;

/***
 *@author yinxucun
 *@date 2019-12-31 18:23 
 */

public enum CashTransactionStatusEnum {
    SUCCESS(1,"成功"),
    WATING(0,"准备中"),
    FAILURE(2,"失败"),
    PAYING(3,"支付中");

    private Integer value;
    private String name;

    CashTransactionStatusEnum(Integer value, String name) {
        this.value = value;
        this.name = name;
    }

    public Integer getValue() {
        return value;
    }

    public String getName() {
        return name;
    }
}
